<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>注册</title>
<link rel="stylesheet" href="css/bootstrap.min.css" />
<script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<style type="text/css">
#registy {
	height: 400px;
	width: 300px;
	margin: 100px auto;
}
</style>
<script type="text/javascript">
	//提交事件
	function isubmit() {
		$("#btnsubmit").click();
	}
</script>
</head>
<body>
	<div id="registy">
		<h4>添加员工页面</h4>
		   <h3>${msg }</h3>
		<form action="registy.do"  method="post" enctype="multipart/form-data">
			用户名: <input type="text" name="ename" class="form-control"><br>
			密码: <input type="text" name="epwd" class="form-control"><br>
			部门名称:
			<%-- <select name="deid">
 	       <option value="${l.dept.deid}">${l.dept.dename}</option>
                                        <c:forEach items="${list2}" var="l2" varStatus="status">
                                            <option  value="${l2.deid}">${l2.dename}</option>
                                        </c:forEach>
                                    </select> --%>

			<select name="deid" class="form-control">
				<option value="-1">请选择</option>
				<optgroup label="管理员">管理员
				</optgroup>
				<option value="2">内科</option>
				<option value="3">外科</option>
				<option value="4">儿科</option>
				<option value="5">口腔科</option>
				<option value="6">妇科</option>
				<option value="7">耳鼻喉科</option>
				<option value="8">皮肤科</option>
				<option value="9">眼科</option>
				<option value="10">呼吸内科</option>
			</select>
		
             上传员工照片:<input type="file" name="upload"  accept="image/jpeg" >
 

			<button id="btnsubmit" type="submit" style="display: none;">隐藏的提交按钮</button>
		</form>
		<div class="social-login clearfix">
			<a class="btn btn-primary pull-left facebook" onclick="isubmit()">确认</a>
		</div>
	</div>
</body>
</html>